package net.infamily.model;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ProfileLink extends Entity {
	@Persistent
	private Profile from;
	
	@Persistent
	private String toId;
	
	@Persistent	
	private ProfileLinkType type;

	public Profile getFrom() {
		return from;
	}

	public void setFrom(Profile from) {
		this.from = from;
	}

	public String getToId() {
		return toId;
	}

	public void setToId(String toId) {
		this.toId = toId;
	}

	public ProfileLinkType getType() {
		return type;
	}

	public void setType(ProfileLinkType type) {
		this.type = type;
	}		
}
